package com.kingyun.gpsinspection.purificationservice.common.enums;

/**
 * 设备运行状态
 * Created by huangxueqian@cqhilink.com on 2017/5/2.
 */
public enum DeviceStateEnum {

    ING(1,"在用"),
    CHECK(2,"检修"),
    HITCH(3,"故障"),
    STOP(4,"停用"),
    DISCARD(5,"报废")
    ;

    DeviceStateEnum(Integer code, String description){
        this.code=code;
        this.decription=description;
    }

    // 编码
    private Integer code;
    // 描述
    private String decription;


    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDecription() {
        return decription;
    }

    public void setDecription(String decription) {
        this.decription = decription;
    }
}
